home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 491 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  726 b 

  1. Path: news.cs.hope.edu!vnopstal
  2. From: vnopstal@cs.hope.edu (Michael Van Opstall)
  3. Newsgroups: comp.lang.c++
  4. Subject: Operator Overloading
  5. Date: 4 Jan 1996 20:32:43 GMT
  6. Organization: Hope College
  7. Message-ID: <4chdhb$g64@news.cs.hope.edu>
  8. NNTP-Posting-Host: smaug.cs.hope.edu
  9. X-Newsreader: TIN [version 1.2 PL2]
  10.  
  11. A couple of questions on operator overloading:
  12.  
  13. 1. If you overload ==, do you have to overload != as well?
  14.  
  15. 2. What is the accepted method for overloading >> and <<? The way I do it
  16. is not very cool and not slick at all. Should I be including streams and doing
  17. stream manipulation? That makes sense.
  18.  
  19. Thanks...
  20.  
  21. --
  22. Michael A. Van Opstall  --  vnopstal@cs.hope.edu
  23. http://www.cs.hope.edu/~vnopstal/deal.html - try it
  24.